package com.bwda.dsrs.filecenter.domain.form.dbscanhistory;

import javax.validation.constraints.NotNull;
import com.bwda.dsrs.base.util.DateUtil;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * @author Administrator
 */
@Data
@ApiModel(description = "敏感字段扫描结果历史表")
public class DbScanHistoryUpdateForm {

	@ApiModelProperty(value = "id", required = true)
	@NotNull(message = "id不能为空")
	private Integer scanHistoryId;

	@ApiModelProperty(value = "扫描任务表id")
	private Integer taskId;

	@ApiModelProperty(value = "扫描历史表id")
	private Integer taskHistoryId;

	@ApiModelProperty(value = "扫描历史子表id")
	private Integer subTaskHistoryId;

	@ApiModelProperty(value = "数据库id")
	private Integer dbId;

	@ApiModelProperty(value = "数据库类型")
	private String dbType;

	@ApiModelProperty(value = "表名")
	private String tableName;

	@ApiModelProperty(value = "字段名")
	private String columnName;

	@ApiModelProperty(value = "匹配到的标签敏感字段")
	private String wordIds;

	@ApiModelProperty(value = "本次扫描总次数")
	private Integer scanNums;

	@ApiModelProperty(value = "本次扫描匹配到的次数")
	private Integer matchNums;

	@ApiModelProperty(value = "创建时间,格式为:" + DateUtil.FORMAT)
	@DateTimeFormat(pattern = DateUtil.FORMAT)
	private Date createTime;

}